import request from '@/utils/request'


/*查询流程定义列表*/
export const todoList = (data:any) => {
    return request({
        url: '/flowable/task/todoList',
        method: 'get',
        data: data
    })
}
/**
 * 审批
 * @param data
 */
export const complete = (data:any) => {
    return request({
        url: '/flowable/task/complete',
        method: 'post',
        data: data
    })
}

